“Graceful degradation”(优雅降级):指在系统出现故障、资源不足或部分组件不可用时,仍能继续提供服务,只是功能、性能或体验按可控方式下降,而不是直接崩溃或完全不可用。常用于软件工程、网站/应用、网络与服务架构语境。
/ˈɡreɪsfəl ˌdɛɡrəˈdeɪʃən/
When the payment service is down, the app uses graceful degradation and lets users place orders for later payment.
当支付服务宕机时,应用采用优雅降级,允许用户先下单,稍后再付款。
In a well-designed microservice system, graceful degradation can limit the blast radius of failures by serving cached data, disabling nonessential features, and keeping core flows available.
在设计良好的微服务系统中,优雅降级可以通过提供缓存数据、关闭非核心功能并保持关键流程可用,来限制故障的影响范围。
该短语由 graceful(“优雅的、得体的”)+ degradation(“退化、降级”)构成。字面意思是“以一种体面、可控的方式变差”,在计算机领域引申为:面对异常时系统“有序变弱”,而不是“突然死亡”。